package me.zhulu.spring.methodReplace;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created with IntelliJ IDEA.
 * User: herosea
 * Date: 14-7-11
 * Time: 上午9:53
 * To change this template use File | Settings | File Templates.
 */
public class BusinessMain {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("/me/zhulu/spring/methodReplace/methodReplace.xml");
        BusinessInvoker mc = (BusinessInvoker)ac.getBean("businessInvoker");
        mc.perform();
    }
}
